import React,{Component} from 'react'
import {MessageStyle} from './StyleCheckTask'

class Message extends Component{
    render(){
        return(
            <MessageStyle {...this.props}>
                <div>{this.props.title}{this.props.message}</div>
            </MessageStyle>
        )
    }
}

export default Message